<?php
namespace App\Models\Mall;

use Illuminate\Database\Eloquent\Model;

class GoodsType extends Model 
{
	protected $table = 'mall_goods_type';

	public function goods()
    {
         return $this->belongsToMany('App\Models\Mall\Goods', 'mall_goods_type_relate', 'goods_type_id', 'goods_id');
    }
}